package com.singfan.core.dao.database;

import com.singfan.core.dao.database.model.BarberAppointment;

import java.util.List;

/**
 *
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public interface IBarberAppointmentDao {
    void create(BarberAppointment barberAppointment);

    List<BarberAppointment> selectAppointmentListByDayTime(long barberId, int dayTime);

    BarberAppointment selectAppointmentByDayClockTime(long barberId, int dayTime, int clockTime);

    void deleteAppointment(long barberId, int appointmentDay, int appointmentClock);

    void deleteAppointment(long orderId);

    List<Long> barberHasAppointmentByDayClockTime(List<Long> barberIdList, int dayTime, int clockTime);
}